<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<link th:href="@{/css/bootstrap.min.css}" rel="stylesheet">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
   <div th:each="account:${pageInfo.list}">
       <span th:text="${account.name}"></span>
       <span th:text="${account.balance}"></span>
   </div>

   <div>[[${pageInfo.list}]</div>
</body>
</html>